-- card: 130817 from stack: in -- bmap block id: 99587 -- flags: 0000 -- background id: 4507 -- name: -- part 1 (button) -- low flags: 00 -- high flags: 0001 -- rect: left=254 top=291 right=314 bottom=282 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: -- part 3 (button) -- low flags: 00 -- high flags: 0001 -- rect: left=218 top=291 right=314 bottom=247 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: -- part 4 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=469 top=242 right=265 bottom=489 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ----- HyperTalk script ----- on mouseUp setCrossReference go to card id 79976 end mouseUp -- part contents for background part 2 ----- text ----- Variables -- part contents for background part 1 ----- text ----- Usually you store values in fields. Variables are for storing values temporarily within a single message handler or globally to be used (or changed) by any script. Variables can have any single-word name. Variables don't use quotes. put 0 into subTotal add field 3 to subTotal You don't need to declare variables; just store into them on the fly. Make a global variable by using the Global* command. -- part contents for background part 43 ----- text ----- 267,189